<{include file="public/header.html"}> 
		
		<!--main部分-->
		<div class="x-main-upper w1180-con">
			<!--main--左边--logo/tab-->
			<{include file="public/user_nav.html"}> 
				<!--main--右边--banner-->
				<div class="main-right">
					<div class="mright-content p10">
						<!--头像、昵称、等级-->
						<{include file="public/user_top.html"}> 
						<div class="clear"></div>
						<!--帐户信息-->
						<div class="w70 fl mt15">
							<div class="acc user-title bjf">
								<div class="p10">
									<!--title-->
									<div class="title mud10">
										<b></b>
										<p class="title66">溜溜币<!--/积分-->增长记录<a href="javascript:void(0);" data-url="/user/details.html" class="fr" style="color: rgb(255, 77, 0);">查看明细</a></p>
									</div>
									<div class="line">
										<p class="mb15">近7天的增长记录：
<!--											<span class="switch-code">
												<a href="javascript:void(0);" class="switch-on">溜溜币</a>
												<a href="javascript:void(0);" style="margin-left: 35px;">积分</a>
											</span>-->
										</p>
									</div>
									<div class="line">
                                        <div class="switch66">
	                                        <div class="line tc" id="amount_view" style="width:668px;height:300px;">
	                                            <div id="amount_view" style="width:668px;height:300px;"></div>
											</div>
											<p>近7天的溜溜币总收入：<i><{$finance_total}></i><b class="icon icon-tan66"></b></p>
										</div>
                                        <div class="switch66" style="display: none;">
	                                        <div class="line tc" id="amount_view" style="width:668px;height:300px;">
	                                            <div id="experience_view" style="width:668px;height:300px;"></div>
											</div>
											<p>近7天的积分总收入：<i><{$experience_total}></i></p>
										</div>										
									</div>
								</div>
							</div>
                                                        <script src="<{$style_dir}>/js/echarts.js" type="text/javascript"></script>
                                                        <script type="text/javascript">
                                                        $(function(){
                                                        // 路径配置
                                                        require.config({
                                                            paths: {
                                                                echarts: '<{eval base_url()}>static/default/js'
                                                            }
                                                        });

                                                        require(['echarts', 'echarts/chart/line'], function(ec) {
                                                            var margins = ec.init(document.getElementById('amount_view'));
                                                            var option = {
                                                            color: ['#4bbd00'],
                                                            tooltip : {
                                                            trigger: 'axis',
                                                            formatter: " [b] <br/>总溜溜币: [c]",
                                                            backgroundColor: 'rgba(0,0,0,0.5)',
                                                            axisPointer: {type: 'shadow'},
                                                            textStyle: {fontSize : 12},
                                                            },
                                                            legend: {
                                                            data:['溜溜币总额收入走势'],
                                                            textStyle: {fontSize:'13',fontFamily: '微软雅黑, Arial, Verdana, sans-serif'},
                                                            y: '5%',
                                                            },
                                                            grid: {
                                                            x: '8%',
                                                            y: '17%',
                                                            x2: '8%',
                                                            y2: '15%',
                                                            borderWidth:1,
                                                            borderColor:'#eee'
                                                            },
                                                            calculable : true,
                                                            xAxis : [{
                                                               type : 'category',
                                                               boundaryGap : false,
                                                               axisLine: {lineStyle: {color: '#acacac',width: 1,type: 'solid'}},
                                                               splitLine:{lineStyle:{color: '#ebebeb',width: 1,type: 'solid'}},
                                                               axisLabel:{textStyle: { fontFamily: '微软雅黑, Arial, Verdana, sans-serif',color: '#666',}},
                                                               data: [<{$date_attribute}>]
                                                            }],
                                                            yAxis : [{
                                                               'name':'溜溜币（个）',
                                                               type : 'value',   
                                                               axisLine: {lineStyle: {color: '#acacac',width: 1,type: 'solid'}},
                                                               splitLine:{lineStyle:{color: '#ebebeb',width: 1,type: 'solid'}},
                                                               axisLabel:{textStyle: {fontFamily: '微软雅黑, Arial, Verdana, sans-serif',color: '#666'},formatter:'[value]'},
                                                            }],
                                                            series : [{
                                                               name:'溜溜币总额收入走势',
                                                               type:'line',
                                                               data:[<{$finance_attribute}>]
                                                            }],
                                                            };
                                                            margins.setOption(option)
                                                        });
                                                        require(['echarts', 'echarts/chart/line'], function(ec) {
                                                                var margins = ec.init(document.getElementById('experience_view'));
                                                                var option = {
                                                                color: ['#4bbd00'],
                                                                tooltip : {
                                                                trigger: 'axis',
                                                                formatter: " [b] <br/>总积分值: [c]",
                                                                backgroundColor: 'rgba(0,0,0,0.5)',
                                                                axisPointer: {type: 'shadow'},
                                                                textStyle: {fontSize : 12},
                                                                },
                                                                legend: {
                                                                data:['积分总额收入走势'],
                                                                textStyle: {fontSize:'13',fontFamily: '微软雅黑, Arial, Verdana, sans-serif'},
                                                                y: '5%',
                                                                },
                                                                grid: {
                                                                x: '8%',
                                                                y: '17%',
                                                                x2: '8%',
                                                                y2: '15%',
                                                                borderWidth:1,
                                                                borderColor:'#eee'
                                                                },
                                                                calculable : true,
                                                                xAxis : [{
                                                                   type : 'category',
                                                                   boundaryGap : false,
                                                                   axisLine: {lineStyle: {color: '#acacac',width: 1,type: 'solid'}},
                                                                   splitLine:{lineStyle:{color: '#ebebeb',width: 1,type: 'solid'}},
                                                                   axisLabel:{textStyle: { fontFamily: '微软雅黑, Arial, Verdana, sans-serif',color: '#666',}},
                                                                   data: [<{$date_attribute}>]
                                                                }],
                                                                yAxis : [{
                                                                   'name':'积分（个）',
                                                                   type : 'value',   
                                                                   axisLine: {lineStyle: {color: '#acacac',width: 1,type: 'solid'}},
                                                                   splitLine:{lineStyle:{color: '#ebebeb',width: 1,type: 'solid'}},
                                                                   axisLabel:{textStyle: {fontFamily: '微软雅黑, Arial, Verdana, sans-serif',color: '#666'},formatter:'[value]'},
                                                                }],
                                                                series : [{
                                                                   name:'积分总额收入走势',
                                                                   type:'line',
                                                                   data:[<{$experience_attribute}>]
                                                                }],
                                                                };
                                                                margins.setOption(option)
                                                            });
                                                        });
                                                        </script>
							<div class="acc user-title bjf mt10">
								<div class="p10">
									<div class="title mud10">
										<b></b>
										<p class="title66">推荐体验</p>
									</div>
									<div class="platform-list">
										<ul class="platform-jq">
                                        <{foreach from=$recommends item=val}>
											<li>
												<div class="txt">
													<b class="<{$val['class']}>"></b>
													<div class="title">
														<img src="<{$val['logo_detail']}>"/>
													</div>
													<div class="con pud10">
														<p>体验要求：<i style="font-size:12px;"><{if $val['require_amount_desc']}>（<{$val['require_amount_desc']}>）<{else}>（不限额）<{/if}></i></p>
														<p>弹溜溜加息：<i class="bossred f18">+<{$val['add_interest']}></i></p>
														<p>平台利息：<i class="yellow2 f18"><{$val['plat_interest_desc']}></i></p>
													</div>
												</div>
												<div class="hide">
													<p class="txt mt50">弹溜溜额外加息</p>
													<p class="num">+<{$val['add_interest']}></p>
					                                <a href="<{$val['url']}>" target="_blank">立即体验</a>
												</div>
											</li>
                                        <{/foreach}>
											<div class="clear"></div>
										</ul>										
									</div>
								</div>
							</div>
						</div>
						<div class="w30 fr mt15">
							<div class="ml10">
                                                            <div class="acc user-title bjf mt10" style="margin-top: 0px;">
									<div class="p10">
										<!--title-->
										<div class="title mud10">
											<b></b>
											<p class="title66">我的财富</p>
										</div>
										<div class="pl10">
											<div class="txt">
												<p>
													<b class="icon icon-assets mtr85"></b>
													<a href="javascript:;">溜溜币总数</a>
													<i class="fr"><{$user_info['total']|number_format}></i>
												</p>
<!--												<p>
													<b class="icon icon-profit mtr85"></b>
													<a href="javascript:;">积分总数</a>
													<i class="fr"><{$user_info['experience']|number_format}></i>
												</p>-->
												<p>
													<b class="icon icon-integral mtr85"></b>
													<a href="javascript:;">溜珠总数</a>
													<i class="fr"><{$user_info['bbs_account']['balance']}></i>
												</p>
											</div>
										</div>
									</div>
								</div>
								<div class="acc user-title bjf mt10">
									<div class="p10">
										<!--title-->
										<div class="title mud10">
											<b></b>
											<p class="title66">相关帮助</p>
										</div>
										<ul class="help">
											<li><a href="/guider/26.html" target="_blank">溜溜币是什么?</a></li>
											<li><a href="/guider/26.html" target="_blank">溜溜币如何赚取?</a></li>
											<li><a href="/guider/26.html" target="_blank">溜溜币可以做什么?</a></li>
											<li><a href="/guider/26.html" target="_blank">溜溜币与RMB比率?</a></li>
										</ul>
									</div>
								</div>
							</div>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
		<!--footer-->
<{include file="public/footer.html"}> 		